/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is NetBeans. The Initial Developer of the Original
* Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
* Microsystems, Inc. All Rights Reserved.
*/
package org.netbeans.modules.jarpackager;
import java.util.jar.Attributes;
import java.io.Serializable;
import org.openide.filesystems.FileObject;
/** Interface that allows to add attributes to the manifest file
* for specific entries.
*
* @author Dafe Simonek
*/
public interface AttributesProducer extends Serializable {
/** Returns a set of manifest attributes for given entry
* or null if no manifest attributes are needed for
* given entry.
*
* @param entryName The name of the entry to return manifest
* attributes for.
* @preturn Attribute set for given entry or null.
*/
public Attributes attributes (String entryName);
}
/*
* <<Log>>
* 5 Gandalf 1.4 10/23/99 Ian Formanek NO SEMANTIC CHANGE - Sun
* Microsystems Copyright in File Comment
* 4 Gandalf 1.3 6/9/99 Ian Formanek ---- Package Change To
* org.openide ----
* 3 Gandalf 1.2 6/4/99 David Simonek manifest creation now
* supported correctly
* 2 Gandalf 1.1 6/3/99 David Simonek
* 1 Gandalf 1.0 5/26/99 David Simonek
* $
*/